package com.bwie.auth.feign;

import com.bwie.common.domain.SysUser;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("bwie-system")
public interface AuthFeignService {

    @GetMapping("/findSysUserByUsername/{username}")
    public Result<SysUser> findSysUserByUsername(@PathVariable String username);

}
